Expand description
CW4 is a spec for storing group membership, which can be combined with CW3 multisigs. The purpose is to store a set of members/voters that can be accessed to determine permissions in another section.
Since this is often deployed as a contract pair, we expect this
contract to often be queried with QueryRaw
and the internal
layout of some of the data structures becomes part of the public API.
Implementations may add more data structures, but at least
the ones laid out here should be under the specified keys and in the
same format.
In this case, a cw3 contract could read an external group contract with no significant cost besides reading local storage. However, updating that group contract (if allowed), would be an external message and will be charged as part of the overhead for each contract.
For more information on this specification, please check out the README.
Structs
MemberChangedHook()
variant in a ExecuteMsg.
This contains a list of all diffs on the given transaction.